package chapter09;


public class Cat extends Animal {

    public int leg=4;
    public void catchRat() {
        System.out.println("抓老鼠");
    }

    public void eat(){
        System.out.println("吃鱼");
    }
}
